﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Pampa.MVC.Models
{
    public class TrasientModel : ICustomPersistence
    {
        public int Id 
        { 
            get { return 0; }
        }

        public void Validate()
        {
            throw new Exception("This is not a persistent class");
        }

        public void CustomSave()
        {
            throw new Exception("This is not a persistent class");
        }

        public void CustomDelete()
        {
            throw new Exception("This is not a persistent class");
        }

        public bool IsNew
        {
            get
            {
                return true;
            }
        }

        public bool Visible
        {
            get
            {
                return true;
            }
        }
    }
}
